package designPattern.creationpattern.prototype.deepCopy;

import lombok.*;

/**
 * @author wei.zhao
 * @description:
 * @date 2021年12月09日 16:41
 */
@Setter
@Getter
@NoArgsConstructor
@AllArgsConstructor
@ToString
public class Witness implements Cloneable {

    private String name;

    @Override
    protected Witness clone() {
        Witness resume = null;
        try {
            resume = (Witness) super.clone();
        } catch (Exception ex) {
            ex.printStackTrace();
        }
        return resume;
    }

}
